home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / AOCE Sample Code / PowerTalk Access Modules / Sample SMSAM / SampleSMSAM Source / SampleSMSAMServer / StatusWindow.h < prev   
Encoding:
C/C++ Source or Header  |  1995-07-28  |  1.1 KB  |  49 lines  |  [TEXT/KAHL]

  1. /*
  2.     File:        StatusWindow.h
  3.  
  4.     Copyright:    © 1991-1994 by Apple Computer, Inc.
  5.                 All rights reserved.
  6.  
  7.     Part of the AOCE Sample SMSAM Package.  Consult the license
  8.     which came with this software for your specific legal rights.
  9.  
  10. */
  11.  
  12.  
  13.  
  14. #ifndef __STATUSWINDOW__
  15. #define __STATUSWINDOW__ 1
  16.  
  17. #ifndef __BLJSTANDARDINCLUDES__
  18. #include "BLJStandardIncludes.h"
  19. #endif
  20.  
  21. #ifndef __DIALOGWINDOW__
  22. #include "DialogWindow.h"
  23. #endif
  24.  
  25. /***********************************|****************************************/
  26.  
  27. typedef unsigned long GetLoadIndicatorFunc ();
  28.  
  29. /***********************************|****************************************/
  30.  
  31. class TStatusWindow : public TDialogWindow {
  32.  
  33. public:                                    TStatusWindow ( short dialogID, short stringsSTRPoundID, GetLoadIndicatorFunc* f );
  34.         virtual                            ~TStatusWindow ( );
  35.     
  36.         virtual void                    HandleButtonPress ( short whichButton ) ;
  37.  
  38.         virtual Boolean                    UpdateLoadIndicator ( );
  39.  
  40.         virtual void                    DrawUserItem ( short whichItem );
  41.                 
  42. private:
  43.         GetLoadIndicatorFunc*            fGetLoadIndicatorValueFunc;
  44. };
  45.  
  46. /***********************************|****************************************/
  47.  
  48. #endif // __STATUSWINDOW__
  49.